﻿<%@ Page Language="C#"  ValidateRequest=false AutoEventWireup="true" CodeBehind="Add.aspx.cs" Inherits="TCS.Web.Admin.NewsManage.Add" %>
<%@ Register Src="~/Admin/uc/AdminMapPath.ascx" TagName="MapPath" TagPrefix="uc1" %>
<%@ Register Src="../../Controls/checkright.ascx" TagName="checkright" TagPrefix="uc2" %>
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<%@ Register Src="~/Controls/copyright.ascx" TagName="CopyRight" TagPrefix="uc1" %>
<%@ Register TagPrefix="cc1" Namespace="LtpPageControl" Assembly="LtpPageControl" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>无标题页</title>
    <style type="text/css">
        html, body
        {
            height: 100%;
        }
        body
        {
            margin-left: 0px;
            margin-top: 0px;
            margin-right: 0px;
            margin-bottom: 0px;
            padding: 0px;
        }
        .savebtn
        {width:69px;   background:url(../images/anniou_14.gif) no-repeat left top;  border:none;  height:22px; }
         .returnbtn
        { width:69px; background:url(../images/anniou_16.gif) no-repeat left top;   border:none; height:22px; }
    </style>
    <link href="../css/text.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
            <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" style="width: 100%;
        height: 100%">
        <tr>
            <td valign="top" bgcolor="#F4FBFF">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="37" style="width: 37px;">
                                        <img src="../images/left_15.gif" width="37" height="25" />
                                    </td>
                                    <td background="../images/left_17.gif">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td style="color: #013559">
                                                    当前位置：信息管理&gt;&gt; 增加
                                                </td>
                                                <td width="78" style="width: 78px;">&nbsp;
                                                    
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td height="300" valign="top" bgcolor="#f4fbff" style="padding-top: 10px;">
                            <table width="96%" border="0" align="center" cellpadding="0" cellspacing="1"
                            bordercolorlight='<%=Application[Session["Style"].ToString()+"xtable_bordercolorlight"]%>' bordercolordark='<%=Application[Session["Style"].ToString()+"xtable_bordercolordark"]%>' bgcolor="#afc4e3">
                            <tr bgcolor="#e4e4e4">
                                <td  height="22" 
                                    colspan="2" align="left" 
                                    bgcolor='<%=Application[Session["Style"].ToString()+"xtable_titlebgcolor"]%>' class="bj">
                                    &nbsp;&nbsp;&nbsp;&nbsp;信息添加，请详细填写下列信息，带有 <font>*</font> 的必须填写。</td>
                            </tr>
                            <tr>
                                <td height="22" colspan="2" bgcolor="#F4FBFF" style="padding-bottom:5px; padding-top:5px;">
                                    <table width="98%" border="0" align="center" cellpadding="4" cellspacing="0">
                                        <tr>
                                            <td align="left">
                                                所属区域：</td>
                                            <td height="14" width="90%" style="height: 14px; text-align: left;">
                                                <asp:DropDownList ID="Ddp_qx" runat="server" 
                                                      onselectedindexchanged="Ddp_qx_SelectedIndexChanged" Enabled="False" 
                                                    Visible="False">                                                </asp:DropDownList>
                                                <asp:Label ID="lblQX" runat="server" Text="Label"></asp:Label>                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="left">
                                                栏目名称：</td>
                                            <td height="14" width="90%" style="height: 14px; text-align: left;">
                                                <asp:DropDownList ID="dropNewsClass" runat="server" Width="200px">                                                </asp:DropDownList></td>
                                        </tr>
                                        <tr>
                                            <td height="25" width="10%" align="left">
                                                标 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;题：                                            </td>
                                            <td height="25" width="90%" style="text-align: left">
                                                <asp:TextBox ID="txtHeading" runat="server" Width="200px"></asp:TextBox></td>
                                        </tr>
                                        <tr>
                                            <td align="left" style="height: 24px">
                                                关&nbsp;&nbsp;键&nbsp;&nbsp;字：</td>
                                            <td style="text-align: left; height: 24px;">
                                                <asp:TextBox ID="txtFocus" runat="server" Width="400px" MaxLength="50" BorderStyle="Groove"></asp:TextBox>&nbsp;</td>
                                        </tr>                                      
                                        
                                        <tr>
                                            <td align="left">
                                                信息类型：</td>
                                            <td height="22" style="text-align: left">
                                                <asp:RadioButtonList ID="RadioButtonList1" runat="server" 
                                                    RepeatDirection="Horizontal" AutoPostBack="True" 
                                                    onselectedindexchanged="RadioButtonList1_SelectedIndexChanged">
                                                    <asp:ListItem Value="0">短信方式</asp:ListItem>
                                                    <asp:ListItem Selected="True" Value="1">网页方式</asp:ListItem>
                                                </asp:RadioButtonList>                                            </td>
                                        </tr>
                                        
                                        <tr>
                                            <td align="left">
                                                发布区域：</td>
                                            <td height="22" style="text-align: left">
                                                <asp:RadioButtonList ID="Rbl_qy" runat="server" RepeatDirection="Horizontal">
                                                    <asp:ListItem Selected="True" Value="0">不发布</asp:ListItem>
                                                    <asp:ListItem Value="1">全县发布</asp:ListItem>
                                                    <asp:ListItem Value="2">全市发布</asp:ListItem>
                                                    <asp:ListItem Value="3">全省发布</asp:ListItem>
                                                </asp:RadioButtonList>                                            </td>
                                        </tr>
                                        <tr>
                                          <td align="left" bgcolor="#def0fe"><span class="style1">信息内容：</span></td>
                                          <td height="22" bgcolor="#def0fe" style="text-align: left">&nbsp;</td>
                                        </tr>
                                  </table>
                              </td>
                            </tr>
                            <tr>
									
									<td style="text-align: left" class="style1">
									  <div id="wy" runat="server" >
									    <FTB:FreeTextBox id="FreeTextBox1" runat="server" Width="100%" height="350" ButtonPath="images/ftb/office2003/" />
									</div>
                                        <div id="dx" runat="server" style="display:none"><asp:TextBox ID="duanx" runat="server" Height="88px" 
                                                TextMode="MultiLine" Width="611px"></asp:TextBox></div>
									</td>
							  </tr>
                            <tr>
                                <td height="22" colspan="2">
                                    <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                        <tr>
                                          <td width="150" height="22" bgcolor="#F4FBFF">&nbsp;                                          </td>
                                            <td height="22" align="left" bgcolor="#F4FBFF">
                                                <asp:CheckBox ID="chkAddContinue" runat="server" Text="连续添加"></asp:CheckBox>&nbsp;[
                                                添加成功后直接跳回此页进行再次添加 ]
                                          </td>
                                        </tr>
                                  </table>
                                </td>
                            </tr>
                            <tr>
                                <td height="22" colspan="2" bgcolor="#F4FBFF" style="padding-bottom:3px; padding-top:3px;">
                                    <div align="center">
                                        <asp:Button ID="btnAdd"   CssClass="savebtn" runat="server" Text="" OnClick="btnAdd_Click"></asp:Button><font
                                            face="宋体">&nbsp;</font>
                                        <asp:Button ID="btnCancel"  CssClass="returnbtn"  runat="server" Text="" OnClick="btnCancel_Click"></asp:Button></div>
                              </td>
                            </tr>
                        </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
        <div style="display:none"><uc1:CopyRight ID="CopyRight1" runat="server" />
        &nbsp;&nbsp;
        <uc2:checkright ID="Checkright1" runat="server" /></div>
    </form>
</body>
</html>
